<?php
class Training_HelperController extends Zend_Controller_Action{
    public function init() {
        parent::init();
//        $this->_helper->viewRenderer->setNoRender();
        $this->_helper->layout->disableLayout();
    }
    
    public function fckAction() {
        echo '<br>' . __METHOD__;
    }
    
    public function imgAction() {
        $filename = FILES_PATH . '/bliss.jpg';
        $thumb = Zendvn_File_Images::create($filename);
        $thumb->resizePercent(30);
        $thumb->save(FILES_PATH . '/photo/bliss.jpg');
        $this->_helper->viewRenderer->setNoRender();
    }
    
    public function partialAction() {
        echo __METHOD__;
    }
    
    public function partial2Action() {
        echo __METHOD__;
    }
 }
